package saas.consumer.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @title: Bootstrap
 * @description: 启动类
 * @author: guan.xin
 * @create: 2021-11-12 09:35
 * @since: JDK8
 */
@SpringBootApplication
@ComponentScan(basePackages = {"saas", "com.baozun.tenant", "com.baozun.ecs"})
@EnableFeignClients(basePackages = "saas")
public class Bootstrap {
    public static void main(String[] args) {
        SpringApplication.run(Bootstrap.class, args);
    }
}

